﻿using System.Xml.Serialization;

namespace Kiva7.DataClasses
{
    public class Location
    {
        [XmlElement("country_code")]
        public string CountryCode { get; set;  }
        [XmlElement("country")]
        public string Country { get; set; }
        [XmlElement("town")]
        public string Town { get; set; }
        [XmlElement("geo")]
        public Geo Geo { get; set; }

        //- <location>
        //  <country_code>LB</country_code> 
        //  <country>Lebanon</country> 
        //  <town>Beirut</town> 
        //- <geo>
        //  <level>town</level> 
        //  <pairs>33.871944 35.509722</pairs> 
        //  <type>point</type> 
        //  </geo>
        //  </location>

    }
}
